export const ratingColumns = [
  {
    title: "数字解读",
    dataIndex: "level",
    key: "level",
  },
  {
    title: "相对位置",
    dataIndex: "level1",
    key: "level1",
  },
  {
    title: "说明",
    dataIndex: "level2",
    key: "level2",
  },
];

export const creditTipsColumns = [
  {
    title: "业务类型",
    colSpan: 2,
    dataIndex: "name",
    className: "noBorderRight",
    onCell: () => {
      return {};
    },
    render: (text, record, idx) => {
      return <div>{record.name}</div>;
    },
  },
  {
    title: "电话号码",
    dataIndex: "phone",
    colSpan: 0,
    className: "noBorderLeft",
    key: "tel",
    render: (text, record) => <div>{record.tel}</div>,
  },
  {
    title: "账户数",
    dataIndex: "age",
    key: "age",
  },
  {
    title: "首笔业务发放月份",
    dataIndex: "address",
    render: (text) => <div>{text}</div>,
  },
];
export const creditData = [
  {
    key: "1",
    name: "John Brown",
    age: 32,
    tel: "0571-22098909",
    phone: 18889898989,
    address: "New York No. 1 Lake Park",
  },
  {
    key: "2",
    name: "Jim Green",
    tel: "0571-22098333",
    phone: 18889898888,
    age: 42,
    address: "London No. 1 Lake Park",
  },
  {
    key: "3",
    name: "Joe Black",
    age: 32,
    tel: "0575-22098909",
    phone: 18900010002,
    address: "Sydney No. 1 Lake Park",
  },
  {
    key: "4",
    name: "Jim Red",
    age: 18,
    tel: "0575-22098909",
    phone: 18900010002,
    address: "London No. 2 Lake Park",
  },
  {
    key: "5",
    name: "Jake White",
    age: 18,
    tel: "0575-22098909",
    phone: 18900010002,
    address: "Dublin No. 2 Lake Park",
  },
];

export const recoursedColumns = [
  {
    title: "业务类型",
    dataIndex: "name",
    key: "name",
  },
  {
    title: "账户数",
    dataIndex: "age",
    key: "age",
  },
  {
    title: "余额",
    dataIndex: "amount",
    key: "amount",
  },
];
export const recoursedData = [
  {
    key: "1",
    name: "John Brown",
    age: 32,
    amount: 2000,
  },
  {
    key: "2",
    name: "Jim Green",
    age: 42,
    amount: 32118,
  },
];

export const BadDebtsColumns = [
  {
    title: "账户数",
    dataIndex: "prop1",
    key: "prop1",
    align: "center",
  },
  {
    title: "余额",
    dataIndex: "prop2",
    key: "prop2",
    align: "center",
  },
];
export const BadDebtsData = [
  { prop1: 32, prop2: 20144 },
  { prop1: 232, prop2: 21333 },
];

export const DelinquentColumns = [
  {
    title: "账户类型",
    dataIndex: "key1",
    key: "key1",
    align: "center",
  },
  {
    title: "账户数",
    dataIndex: "key2",
    key: "key2",
    align: "center",
  },
  {
    title: "月份数",
    dataIndex: "key3",
    key: "key3",
    align: "center",
  },
  {
    title: "余额",
    dataIndex: "key4",
    key: "key4",
    align: "center",
  },
  {
    title: "最长逾期/透支月数",
    dataIndex: "key5",
    key: "key5",
    align: "center",
  },
];

export const DelinquentData = [
  {
    key1: "最长逾期/透支月数",
    key2: "1",
    key3: "6",
    key4: "10,000.00",
    key5: "2",
  },
  {
    key1: "循环额度下分账户",
    key2: "1",
    key3: "3",
    key4: "10,000.00",
    key5: "1",
  },
  { key1: "循环贷账户", key2: "3", key3: "6", key4: "10,000.00", key5: "2" },
  { key1: "贷记卡账户", key2: "2", key3: "6", key4: "10,000.00", key5: "4" },
  { key1: "准贷记卡账户", key2: "--", key3: "--", key4: "--", key5: "--" },
];

export const NonRevolvingLoansColumns = [
  {
    title: "管理机构数",
    dataIndex: "key1",
    key: "key1",
    align: "center",
  },
  {
    title: "账户数",
    dataIndex: "key2",
    key: "key2",
    align: "center",
  },
  {
    title: "授信总额",
    dataIndex: "key3",
    key: "key3",
    align: "center",
  },
  {
    title: "余额",
    dataIndex: "key4",
    key: "key4",
    align: "center",
  },
  {
    title: "最近6个月平均应还款",
    dataIndex: "key5",
    key: "key5",
    align: "center",
  },
];
export const NonRevolvingLoansData = [
  { key1: 2, key2: 3, key3: "10,000.00", key4: "10,000.00", key5: "6,000.00" },
];

export const CreditCardInfoColumns = [
  {
    title: "发卡机构数",
    dataIndex: "key1",
    key: "key1",
    align: "center",
  },
  {
    title: "账户数",
    dataIndex: "key2",
    key: "key2",
    align: "center",
  },
  {
    title: "授信总额",
    dataIndex: "key3",
    key: "key3",
    align: "center",
  },
  {
    title: "单家机构最高授信额",
    dataIndex: "key4",
    key: "key4",
    align: "center",
  },
  {
    title: "单家机构最低授信额",
    dataIndex: "key11",
    key: "key11",
    align: "center",
  },
  {
    title: "已用额度",
    dataIndex: "key5",
    key: "key5",
    align: "center",
  },
  {
    title: "最近6个月平均使用额度",
    dataIndex: "key6",
    key: "key6",
    align: "center",
  },
];
export const CreditCardInfoData = [
  {
    key1: "1",
    key2: "4",
    key3: "100,000.00",
    key4: "10,000.00",
    key5: "3,000.00",
    key6: "10,000.00",
    key7: "6,000.00",
    key11: "3,000.00"
  },
];

export const SubCreditCardInfoColumns = [
  {
    title: "发卡机构数",
    dataIndex: "key1",
    key: "key1",
    align: "center",
  },
  {
    title: "账户数",
    dataIndex: "key2",
    key: "key2",
    align: "center",
  },
  {
    title: "授信总额",
    dataIndex: "key3",
    key: "key3",
    align: "center",
  },
  {
    title: "单家机构最高授信额",
    dataIndex: "key41",
    key: "key4",
    align: "center",
  },
  {
    title: "单家机构最低授信额",
    dataIndex: "key4",
    key: "key4",
    align: "center",
  },
  {
    title: "透支余额",
    dataIndex: "key5",
    key: "key5",
    align: "center",
  },
  {
    title: "最近6个月平均使用额度",
    dataIndex: "key6",
    key: "key6",
    align: "center",
  },
];
export const SubCreditCardInfoData = [
  {
    key1: "1",
    key2: "4",
    key3: "100,000.00",
    key41: "100,000.00",
    key4: "8,000.00",
    key5: "3,000.00",
    key6: "10,000.00",
    key7: "6,000.00",
  },
];
